package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.rest.entity.RestDict;
import cn.stylefeng.guns.sys.modular.system.entity.BtyPerformanceMonthConfig;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyPerformanceMonthConfigParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyPerformanceMonthConfigResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wjk
 * @since 2022-02-10
 */
public interface BtyPerformanceMonthConfigMapper extends BaseMapper<BtyPerformanceMonthConfig> {

    /**
     * 获取列表
     *
     * @author wjk
     * @Date 2022-02-10
     */
    List<BtyPerformanceMonthConfigResult> customList(@Param("paramCondition") BtyPerformanceMonthConfigParam paramCondition);

    /**
     * 获取map列表
     *
     * @author wjk
     * @Date 2022-02-10
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BtyPerformanceMonthConfigParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author wjk
     * @Date 2022-02-10
     */
    Page<BtyPerformanceMonthConfigResult> customPageList(@Param("page") Page page, @Param("paramCondition") BtyPerformanceMonthConfigParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author wjk
     * @Date 2022-02-10
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BtyPerformanceMonthConfigParam paramCondition);


    /**
     * 获取允许做绩效的天数列表
     *
     * @author wjk
     * @Date 2022-02-10
     */
    List<RestDict> getPerformanceDay();
}
